﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.YiDongYuan
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-06-19 08:36
    /// 描 述：检测设备实体类
    /// </summary>
    [Table("detectiondevice")]
    public class DetectionDeviceEntity : BaseCreateEntity
    {
        /// <summary>
        /// 系统编号
        /// </summary>
        /// <returns></returns>
        public string XTBH { get; set; }

        /// <summary>
        /// 系统生产厂家
        /// </summary>
        /// <returns></returns>
        public string XTSCCJ { get; set; }

        /// <summary>
        /// 烟度计型号
        /// </summary>
        /// <returns></returns>
        public string YDJXH { get; set; }

        /// <summary>
        /// 烟度计编号
        /// </summary>
        /// <returns></returns>
        public string YDJBH { get; set; }

        /// <summary>
        /// 烟度计厂家
        /// </summary>
        /// <returns></returns>
        public string YDJCJ { get; set; }

        /// <summary>
        /// 烟度计检定日期
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? YDJJDRQ { get; set; }

        /// <summary>
        /// 烟度计序列号
        /// </summary>
        public string YDJXLH { get; set; }

        /// <summary>
        /// 转速仪型号
        /// </summary>
        /// <returns></returns>
        public string ZSYXH { get; set; }

        /// <summary>
        /// 转速仪编号
        /// </summary>
        /// <returns></returns>
        public string ZSYBH { get; set; }

        /// <summary>
        /// 转速仪厂家
        /// </summary>
        /// <returns></returns>
        public string ZSYCJ { get; set; }

        /// <summary>
        /// 转速仪检定日期
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? ZSYJDRQ { get; set; }
    }
}
